SpatialStream® Code Examples

Adding Parcel Tile Layer with DMP API

Creating a Map Layer Object and adding it to the map is the SpatialStream® recommended method.
The example below shows how to construct a Map Layer Object to add a Parcel Tile layer to the map.
The Map Layer Object constructs the GetMap requests which retrieve the images for overlaying on the map.

GetMap

layer = new Dmp.Layer.TileLayer("ParcelTiles", "SS", "Dmp_License/ParcelTiles", {
zoomRange:{
min:16,max:19
}
});
map.addLayer(layer);


Run Sample   Back To Index